package top.mcwebsite.playandroid.common.network.model

import kotlinx.serialization.Serializable
import kotlinx.serialization.Transient
import top.mcwebsite.playandroid.common.network.ApiException

sealed interface ApiResult<T> {

    data class Success<T>(val data: T): ApiResult<T>


    data class Failure<T>(val cause: ApiException): ApiResult<T>

}